*::after, *::before {
  box-sizing: border-box;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: url(./images/bg1.png) no-repeat center;
  background-size: cover;
}

.container{
  width: 1200px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}

.box {
  position: relative;
  border-radius: 20px;
  transform-style: preserve-3d;
}

.box .card {
  position: relative;
  background: rgba(255,255,255,.1);
  width: 300px;
  min-height: 400px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.75);
  border-left: 1px solid rgba(255,255,255,.75);
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(0,0,0,.05);
  transform-style: preserve-3d;
}

.elements {
  position: absolute;
  top: 50px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,.1);
  transform: translateZ(80px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.75);
  border-left: 1px solid rgba(255,255,255,.75);
  border-radius: 10px;
  box-shadow: 0 25px 45px rgba(0,0,0,.05);
}

.elements.bg::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: url(./images/left_quote.png) no-repeat center;
  background-size: 90%;
  opacity: 0;
  transition: .5s;
}

.box:hover .elements.bg::before {
  opacity: 1;
}

.elements.img_box {
  top: 0;
  left: initial;
  right: 60px;
  width: 120px;
  height: 120px;
  padding: 10px;
  transform: translateZ(120px);
}

.elements.img_box img {
  position: absolute;
  width: calc(100% - 20px);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.75);
  border-left: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 25px 45px rgba(0,0,0,.05);
  opacity: 0;
  transition: .5s;
}

.box:hover .elements.img_box img {
  opacity: 1;
}

.elements.name {
  top: 235px;
  left: initial;
  right: 0;
  width: 100%;
  height: 10px;
  padding: 10px;
  text-align: center;
  transform: translateZ(180px);
  background: transparent;
  backdrop-filter: blur(0px);
  border: none;
  box-shadow: none;
  color: #644651;
  transition: .5s;
  opacity: 0;
  transition-delay: .25s;
}

.box:hover .elements.name {
  opacity: 1;
  top: 145px;
}

.elements.content {
  top: initial;
  left: initial;
  bottom: 0;
  right: -20px;
  width: 85%;
  min-height: 200px;
  padding: 10px;
  transform: translateZ(180px);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.elements.content p {
  position: relative;
  color: #FFf;
  font-size: .85em;
  opacity: 0;
  transition: .5s;
  transition-delay: .5s;
  color: #644651;
}

.box:hover .elements.content p {
  opacity: 1;
}